<%@ page import="java.util.Date" %>
<%@ page import="java.text.DateFormat" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>

<body>
<%
    request.setCharacterEncoding("UTF-8");
    String id=request.getParameter("id");
    session.setAttribute("id", id);
    String name=request.getParameter("name");
    session.setAttribute("name", name);
    String password=request.getParameter("password");
    session.setAttribute("password", password);
    Date date = new Date();
    DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    String str = dateFormat.format(date);
%>


<input value="<%=str%>">
</body>
</html>
